home *** CD-ROM | disk | FTP | other *** search
- DocumentInfos(Var1;Var2;Var3;Var4;Var5;Var6;Var7;Var8;Var9)
- Var1 is an alphanumeric variable
- Var2...Var5 are numeric variables
- Var6...Var7 are date variables
- Var8 and Var9 are numeric variables
-
- DocumentInfos returns information about the document whose name is specified by Var1.
-
- After the call :
-
- Var1, contains the full pathname of the document
- Var2, contains the logical size of the data fork which means the number of written bytes in the file.
- Var3, contains the physical size of the data fork which means the allocated space on the disk for the file.
- Var4, like Var2 but for the resource fork.
- Var5, like Var3 but for the resource fork
-
- Note
- The logical size given by the Finder is equal to Var2+Var4. The physical size given by the Finder is equal to Var3+Var5.
-
- Var6, contains the date of the creation of the document.
- Var7, contains the date of the last modification.
- Var8, contains the time of the creation expressed in seconds since midnight.
- Var9, contains the time of the last modification expressed in seconds since midnight.
-
- Note
- If the document does not exist, Var2 is equal to -1.